<%--
  Created by IntelliJ IDEA.
  User: 建
  Date: 2014/10/28
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@include file="../../common/Include_input_head.jsp" %>
    <title>主题管理</title>
    <script type="text/javascript" src="/resources/theme/js/themeManage.js"></script>
</head>
<body style="text-align:center;">

<div class="box1">
    <s:form name="theform" method="post" theme="simple" enctype="multipart/form-data">
        <s:hidden name="xxfbZt.wid" id="wid"/>
        <s:hidden name="xxfbZt.userid"/>
        <s:hidden name="xxfbZt.cjsj"/>
        <fieldset>
            <legend>主题信息</legend>
            <table width="100%" border="0" align="center">
                <tr>
                    <td width="15%" align="right"style="font-size: 12px">&nbsp;主题名称：</td>
                    <td width="35%" align="left" nowrap="nowrap">
                        <s:textfield name="xxfbZt.ztmc" id="ztmc" maxlength="50" size="20" title="最多16个汉字"/><label
                            style="color:red">*</label></td>
                    <td width="15%" align="right" style="font-size: 12px">&nbsp;主题编码：</td>
                    <td width="35%" align="left" nowrap="nowrap">
                        <s:if test="xxfbZt !=null">
                            <s:textfield name="xxfbZt.ztbm" id="ztbm" maxLength="50" size="20" title="主题编码有4-10位字母组成" readonly="true"/>
                        </s:if>
                        <s:else>
                            <s:textfield name="xxfbZt.ztbm" id="ztbm" maxLength="50" size="20" title="主题编码有4-10位字母组成"/>
                        </s:else>
                        <label style="color: red">*</label>
                    </td>
                </tr>

                <tr>
                    <td width="15%" align="right"style="font-size: 12px">&nbsp;排序值：</td>
                    <td width="35%" align="left" nowrap="nowrap">
                        <s:textfield name="xxfbZt.ordernum"  maxLength="10" title="排序值必须为数字"/>
                    </td>
                    <s:if test="%{xxfbZt==null}">
                    <td width="15%" align="right" style="font-size: 12px">&nbsp;上传主题包：</td>
                    <td width="35%" align="left"><input type="file" name="ztb" style="width: 217px;" accept=""
                                                        class="default"/></td>
                    </s:if>
                </tr>
                <tr>
                    <td width="15%" align="right" style="font-size: 12px">&nbsp;描述：</td>
                    <td><s:textarea name="xxfbZt.ztms" id="ztms" cssStyle="width: 500px"/> </td>
                </tr>
            </table>
        </fieldset>
    </s:form>
</div>

<div class="padding_top10">
    <table class="tableStyle" transMode="true">
        <tr>
            <td colspan="4">
                <input type="button" id="ysSaveButton" value=" 保 存 " onclick="doSave()"/>
                <input type="button" value=" 关 闭 " onclick="parent.closeEntityWindow()"/>
                <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
						<span id="SystemErrorMessage" style="top: 20px">
							<s:actionerror cssStyle="color:red"/>
							<s:actionmessage cssStyle="color:blue"/>
							<s:fielderror/>
						</span>
                </s:if>
            </td>
        </tr>
    </table>
</div>
</body>
</html>